import fetch from '@/utils/fetch'

// 获取机构列表
export function getInstitutionList(suitAge, categoryKeyId, position, page, pageSize) {
  return fetch({
    url: '/OperatorOrganizations/findOrganizationsBySuitAge',
    method: 'post',
    data: {
      suitAge,
      categoryKeyId,
      position,
      page,
      pageSize
    }
  });
}

/**
 * 获取banner
 */
export function getBannerList(bannerType) {
  return fetch({
    url: '/Banner/showBannerBackStage',
    method: 'post',
    data: {
      bannerType
    }
  })
}
